package com.jic.order.api;

import com.jic.common.base.vo.RestResult;
import com.jic.order.response.FrontOrderStatusCountInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * description: 订单提供给会员服务内部调用类
 *
 * @author: jackHe
 * @time: 2020/8/8 14:49
 */
@FeignClient(name = "jic-order", path = "/feign/member")
public interface MemberApi {

	@PostMapping("/queryMyOrderStatusCount")
	RestResult<FrontOrderStatusCountInfo> queryMyOrderStatusCount(@RequestParam(value = "buyerId") Long buyerId);

}
